package com.tm.payment.service.impl;

import com.tm.payment.entity.Product;
import com.tm.payment.mapper.ProductMapper;
import com.tm.payment.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductMapper productMapper;


    @Override
    public List<Product> list(Product product) {
        return productMapper.list(product);
    }
}
